#ifndef __MOUSE_H
#define __MOUSE_H
#include "types.h"
#include "interrupts.h"
#include "port.h"
class MouseDrive : public InterruptHandler{
public:
    MouseDrive(InterruptManager * manager);
    ~MouseDrive();
    virtual uint32_t HandleInterrupt(uint32_t esp);
private:
    Port8Bit dataport;
    Port8Bit commandport;

    uint8_t buffer[3];
    uint8_t offset;
    uint8_t buttons;

    int8_t x,y;
};

#endif